From: Chong Yidong Date: Sun, 15 Nov 2009 15:59:05 +0000 (+0000) Subject: * strokes.el (strokes-update-window-configuration): Make strokes X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~9471 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b18d9d1eab2725f0a42bd85cf8b8aac51b0bd0e2;p=emacs.git * strokes.el (strokes-update-window-configuration): Make strokes buffer current before erasing (Bug#4906). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6b2b34df0fc..5f623e20a9e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-11-15 Chong Yidong + * strokes.el (strokes-update-window-configuration): Make strokes + buffer current before erasing (Bug#4906). + * cedet/semantic/idle.el (semantic-idle-summary-mode) (semantic-idle-summary-mode): Define using define-minor-mode instead of define-semantic-idle-service. diff --git a/lisp/strokes.el b/lisp/strokes.el index ba5ca20a2c1..e2f5093de18 100644 --- a/lisp/strokes.el +++ b/lisp/strokes.el @@ -1061,13 +1061,12 @@ This is based on the last time `strokes-window-configuration' was updated." ;; create `strokes-window-configuration' from scratch... (save-excursion (save-window-excursion - (get-buffer-create strokes-buffer-name) + (set-buffer (get-buffer-create strokes-buffer-name)) (set-window-buffer current-window strokes-buffer-name) (delete-other-windows) (fundamental-mode) (auto-save-mode 0) - (if (featurep 'font-lock) - (font-lock-mode 0)) + (font-lock-mode 0) (abbrev-mode 0) (buffer-disable-undo (current-buffer)) (setq truncate-lines nil)